package org.wu.framework.javafx.spring.starter;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "spring.lazy.javafx")
public class LazyJavaFxProperties {
    // Getter + Setter
    private String targetUrl="https://gitee.com/wujiawei1207537021";
    private WindowConfig window = new WindowConfig();

    // 内部类：窗口配置
    @Setter
    @Getter
    public static class WindowConfig {
        // Getter + Setter
        private String title="小吴小吴bug全无";
        private int width=1024;
        private int height=768;

    }

}
    